#include "Timer.h"

void NVIC_Congfig()
{
	NVIC_InitTypeDef NVIC_InitStructure;
	
	NVIC_InitStructure.NVIC_IRQChannel = TIM6_IRQn;
	NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
	NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1;
	NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1;
	
	NVIC_Init(&NVIC_InitStructure);
}

void TIM6_Config()
{
	//TIM_TimeBaseInitTypeDef
	TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
	
}